home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Collections: Camelot
/
Camelot 064 (1990-02)(Swedish User Group of Amiga)(SE)(PD)[WB].zip
/
Camelot 064 (1990-02)(Swedish User Group of Amiga)(SE)(PD)[WB].adf
/
cclib
/
include
/
assert.h
< prev
next >
Wrap
C/C++ Source or Header
|
1990-02-14
|
309b
|
20 lines
#ifndef ASSERT_H
#define ASSERT_H 1
#ifndef NDEBUG
#ifndef STDIO_H
#include "stdio.h"
#endif
#ifndef STDLIB_H
#include "stdlib.h"
#endif
#define assert(x)\
if (!(x)) {fprintf(stderr,"Assertion failed: x,\
file %s, line %d\n",__FILE__,__LINE__); exit(EXIT_FAILURE);}
#else
#define assert(x)
#endif
#endif